Use PEGetMargins to retrieve the page margin settings for the specified report. Use this function to retrieve the report margins and PESetMargins, to set the report margins.
BOOL CRPE_API PEGetMargins (
short printJob,
short FAR *left,
short FAR *right,
short FAR *top,
short FAR *bottom );
Specifies the print job that you want to query to retrieve margin information. | |
Declare Function PEGetMargins Lib "crpe32.dll" ( ByVal printJob As Integer,
LeftMargin As Integer, RightMargin As Integer,
TopMargin As Integer, BottomMargin As Integer ) As Integer
function PEGetMargins (
printJob: Word;
var left: Word;
var right: Word;
var top: Word;
var bottom: Word
): Bool stdcall;
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |